legacy.yml#
YAML File |
|
Schema File |
|
Loader Class |
|
Python Module |
|
Python Class |
YAML Structure#
The root object is a mapping with the no tag applied.
Top-Level Keys#
|
Mapping of next-gen (unabbreviated) directions to legacy (abbreviated) directions. |
|
Mapping of next-gen (unabbreviated) street types to legacy (abbreviated) street types. The keys (next-gen) are unique, but the values (legacy) may by duplicated. |
|
Sequence of mappings, each representing a legacy/next-gen field pair. Each mapping should have |
Anchors#
|
Reference to the |
|
Reference to the |
Python Implementation#
The LegacyFieldInfo Class#
The data from the YAML file can be obtained by calling LegacyFieldInfo.load(), which will return a list of LegacyFieldInfo objects. Alternatively, data for a specific field can be obtained via LegacyFieldInfo.for_field().